<h2> Add Member: </h2>
<form name="frmDoMember" id="frmDoMember" method="" action="" enctype="multipart/form-data" onSubmit="return checkFrmAddMember(this)">
<input type="hidden" name="action" id="action" value="add">
<table border="1" width="100%" cellpadding="2" cellspacing="1" bgcolor="#F0F0F0">
	<tr>
  	<td align="right" style="vertical-align:top; width:120px;">Username *</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="username" name="username" size="100" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Password *</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="password" name="password" size="100" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Full name *</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="full_name" name="full_name" size="100" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Gender</td>
    <td align="left" style="vertical-align:top">
    	<select name="gender" id="gender" class="select2010_300">
        <option value="0">Male</option>
          <option value="1">Female</option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Intake</td>
    <td align="left" style="vertical-align:top">
    	<select name="intake_id" id="intake_id" class="select2010_300">
      <option value=""> -- Choose -- </option>
      <{foreach name=nameIntake key=keyIntake item=itemIntake from=$arrIntake}>
        <option value="<{$itemIntake.id}>">&nbsp;&nbsp;&nbsp;<{$itemIntake.intake_name}></option>
      <{/foreach}>
     </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top; width:80px;">Date of birthday</td>
    <td align="left" style="vertical-align:top">
    	<select name="day_dob" id="day_dob" class="select2010_95">
        <option value="00"> -- Day -- </option>
        <{section name=foo start=1 loop=32 step=1}>
          <option<{if $arrForm.day_dob eq $smarty.section.foo.index}> selected="selected"<{/if}> value="<{$smarty.section.foo.index}>">&nbsp;&nbsp;&nbsp;<{$smarty.section.foo.index}></option>
        <{/section}>  
      </select>
      
      <select name="month_dob" id="month_dob" class="select2010_95">
        <option value="00"> -- Month -- </option>
        <{section name=foo start=1 loop=13 step=1}>
          <option<{if $arrForm.month_dob eq $smarty.section.foo.index}> selected="selected"<{/if}> value="<{$smarty.section.foo.index}>">&nbsp;&nbsp;&nbsp;<{$smarty.section.foo.index}></option>
        <{/section}>  
      </select>
      
      <select name="year_dob" id="year_dob" class="select2010_95">
        <option value="0000"> -- Year -- </option>
        <{section name=foo start=1940 loop=2010 step=1}>
          <option<{if $arrForm.year_dob eq $smarty.section.foo.index}> selected="selected"<{/if}> value="<{$smarty.section.foo.index}>">&nbsp;&nbsp;&nbsp;<{$smarty.section.foo.index}></option>
        <{/section}>  
      </select>
    </td>
  </tr>
  
  <tr>
  	<td align="right" style="vertical-align:top">Status:</td>
    <td align="left" style="vertical-align:top">
    	<select name="status" id="status">
      	<option value="1">&nbsp;&nbsp;&nbsp;Yes</option>
        <option value="0">&nbsp;&nbsp;&nbsp;No</option>
      </select>
    </td>
  </tr>
  
  <tr>
  	<td align="right" style="vertical-align:top">&nbsp;</td>
    <td align="left" style="vertical-align:top">
    	<input type="submit" name="btnSubmit" id="btnSubmit" value="Save" />
    </td>
  </tr>
</table>
</form>
<div>
	<a href="javascript:backListMember()">Back List Member</a>
</div>